● 100% open source · MIT1 mailbox free · 30 daysthen $1/mo

Give every agent a real inbox.

Your agents sign up for tools, receive OTPs, file issues, and talk to humans. They need email that acts like a person — not a newsletter pipe.

One API call. A real @theagentmail.net mailbox with sending, receiving, webhooks, and attachments. No domains. No DNS. No shared passwords.

per mailbox
$1/mo
per mailbox
sends / mo
1,000
sends / mo
receives / mo
1,000
receives / mo
agent — zshLIVE
curl -X POST https://api.theagentmail.net/v1/accounts \
  -H "Authorization: Bearer am_live_..." \
  -H "Content-Type: application/json" \
  -d '{"address": "deploy-bot"}'

# → deploy-bot@theagentmail.net is live
✉ deploy-bot@theagentmail.net● new mail
G

GitHub — Your verification code: 481516

Your agent reads the OTP via API and finishes signup itself. No human in the loop.

200 OK · webhook delivered in 0.4s

OTPs & verification codes · GitHub / Slack / Linear signups · support inboxes · deploy notifications · human handoffs · webhook pipelines · attachments · OTPs & verification codes · GitHub / Slack / Linear signups · support inboxes · deploy notifications · human handoffs · webhook pipelines · attachments

01 — How it works

Three calls. One working inbox.

Plain REST API (curl, fetch, Python), native remote MCP server for Claude Code / Cursor / OpenCode, or point any agent at theagentmail.net/llms.txt.

01

Create the mailbox

One POST. Your agent owns a real address instantly.

curl -X POST https://api.theagentmail.net/v1/accounts \
  -H "Authorization: Bearer am_live_..." \
  -H "Content-Type: application/json" \
  -d '{"address": "deploy-bot"}'

# → deploy-bot@theagentmail.net is live

02

Send like a human

Outbound scanned in real time so the domain stays trusted.

// Zero dependencies — works in Node, Deno, Bun, Workers
await fetch("https://api.theagentmail.net/v1/messages", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AGENTMAIL_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    to: ["you@company.com"],
    subject: "Deploy succeeded",
    text: "All checks green.",
  }),
});

03

Receive in realtime

Webhooks fire the moment mail lands. OTPs included.

POST /your-webhook  event: email.received
{
  "from": "github@github.com",
  "subject": "Your verification code: 481516",
  "to": ["deploy-bot@theagentmail.net"]
}

02 — Why not DIY?

Disposable email gets blocked. Personal email gets hijacked.

  • ✕

    Your inbox —Hand an agent your Gmail and you've lost control of password resets, billing, and your identity.

  • ✕

    A domain per agent —DNS, SPF, DKIM, warmup, deliverability firefighting — times every agent you spin up.

  • ✕

    Disposable services —Burner domains are blocklisted everywhere that matters. OTPs never arrive.

✓ THE AGENTMAIL WAY

One shared domain with managed reputation. Every outbound message is evaluated in real time by an automated AI spam and phishing filter — phishing and spam blasts die before they leave the server.

Legit agent traffic — signups, notifications, human conversation — sails through. Everyone's mail keeps landing in the inbox.

99%+

inbox rate*

0.4s

webhook p50

1,000

sends / mo

MIT

fully open

*Illustrative target for legitimate agent traffic, not a guarantee.

03 — Pricing

Trial

$0 1 mailbox · 30 days

One mailbox is free for 30 days after phone verification (20 sends/day, 50 receives/day, up to 100 sends & 200 receives/mo). Inbound & webhooks included; signup/OTP verification emails unlock with a $5 deposit.

Start free

Mailbox

$1 /mo per active mailbox

1,000 sends/mo & 1,000 receives/mo included (200/day cap). Pause anytime.

Get started

Top-up

$5 minimum, never expires

Prepaid balance = 5 mailbox-months. Covers renewals automatically.

See how

04 — Open source

No black boxes on your agents' email.

Backend, frontend, SDK, infra — all MIT licensed and public. Self-host it, read every line, or contribute the feature you need.

clone + run
git clone https://github.com/uriva/agentmail.git
cd agentmail && cp .env.example .env
deno task dev        # API on :8000
deno task dev:web    # UI on :3000

05 — FAQ

Asked by agent builders.

Still stuck? support@theagentmail.net is a real inbox handled by our team with automated support assistance.

How do I give my AI agent an email address?+

Create a mailbox with one API call and your agent gets a real address on @theagentmail.net. It can send via REST, receive via polling or webhooks, and handle attachments — no domains, DNS, or SPF/DKIM setup.

Can agents receive verification codes and sign up for services?+

Yes — that's the core use case on paid accounts ($5 minimum deposit). Agents sign up for GitHub, Slack, Linear and friends, receive the OTP or magic link in their AgentMail inbox, and complete the flow themselves via API or webhook. Signup and OTP emails are blocked on free trial mailboxes to prevent burner abuse.

Is AgentMail really open source?+

Completely. MIT licensed — backend, frontend, SDK, and infrastructure are all public on GitHub. Self-host it, audit every line that touches your agents' email, or send a PR.

How much does it cost?+

One mailbox is free for 30 days after phone verification (20 sends/day, 50 receives/day, up to 100 sends & 200 receives/mo; signup/OTP verification emails require a $5 deposit). Paid mailboxes ($1/mo) include 1,000 sends & 1,000 receives per month (200/day), full signup/OTP email delivery, and webhooks.

How do you stop spam from ruining deliverability?+

Every outbound message is scanned in real time by an automated AI spam and phishing filter before it leaves the server. Phishing and bulk spam blasts are blocked instantly, so the shared domain stays trusted and legitimate agent mail lands in the inbox.

Takes ~2 minutes

Ship the agent.
We'll hold its mail.

Sign up, grab an API key, create an address. Free for 30 days.

Works with prompt2bot.com · MIT licensed · github.com/uriva/agentmail